package com.hcms.system.domain;

import com.hcms.common.utils.tree.TreeNode;

import java.util.Date;

// 菜单 实体
public class MenuDo extends TreeNode {
    // 创建 时间
    private Date createTime;
    // 创建 人
    private String createUser;
    // 更新 时间
    private Date updateTime;
    // 更新 人
    private String updateUser;
    // 状态
    private int markStatus;
    // 名称
    private String name;
    // 资源 路径
    private String url;
    // 权限 标识
    private String permsName;
    // 类型
    private int type;
    // 父级 路径
    private String parentPath;
    // 图标
    private String icon;
    // 排序
    private int order;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public int getMarkStatus() {
        return markStatus;
    }

    public void setMarkStatus(int markStatus) {
        this.markStatus = markStatus;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPermsName() {
        return permsName;
    }

    public void setPermsName(String permsName) {
        this.permsName = permsName;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getParentPath() {
        return parentPath;
    }

    public void setParentPath(String parentPath) {
        this.parentPath = parentPath;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "MenuDo{" +
                "createTime=" + createTime +
                ", createUser='" + createUser + '\'' +
                ", updateTime=" + updateTime +
                ", updateUser='" + updateUser + '\'' +
                ", markStatus=" + markStatus +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", permsName='" + permsName + '\'' +
                ", type='" + type + '\'' +
                ", parentPath='" + parentPath + '\'' +
                ", icon='" + icon + '\'' +
                ", order=" + order +
                '}';
    }
}
